/*
全局配置
 */
const PRO_API_URL = 'http://www.icity24.xyz/icitysjz-bus/';
const APP_NAME = 'bus-restapi';

/*
API接口地址
 */
const API_GET_HOME_DADA = '/home/index';
const API_USER_ROUTE_CLEAN = '/home/cleanUserRoute';
const API_SEARCH_ROUTE_SITE = '/routeSite/queryBusRouterSite';
const API_GET_USER_ROUTE_SITE = '/routeSite/getUserRouteSite';
const API_GET_ROUTE_INFO = '/routeSite/getRouteDetails';
const API_GET_SITE_INFO = '/routeSite/getSiteDetails';
const API_SEARCH_ADDRESS = '/address/queryAddress';
const API_GET_USER_ADDRESS = '/address/getUserAddress';
const API_POST_PLAN_LIST = '/address/queryBusPlan';
const API_DETECT_ADDRESS = '/address/detectStartEndAddress';
const API_POST_PLAN_DETAIL = '/address/queryBusPlanDetail';

/*
搜索框使用分类 1:搜索线路、站点 ，2 ：设置起点，3：设置终点
 */
const SEARCH_ROUTE_SITE = 1;
const SEARCH_START_ADDRESS = 2;
const SEARCH_END_ADDRESS = 3;

export default {
  PRO_API_URL,
  APP_NAME,
  API_GET_HOME_DADA,
  API_USER_ROUTE_CLEAN,
  API_SEARCH_ADDRESS,
  API_SEARCH_ROUTE_SITE,
  API_GET_ROUTE_INFO,
  API_POST_PLAN_LIST,
  API_GET_USER_ROUTE_SITE,
  API_GET_USER_ADDRESS,
  API_GET_SITE_INFO,
  SEARCH_ROUTE_SITE,
  SEARCH_START_ADDRESS,
  SEARCH_END_ADDRESS,
  API_DETECT_ADDRESS,
  API_POST_PLAN_DETAIL
};
